<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="sf" uri="http://www.springframework.org/tags/form"%>

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<sf:form method="post" modelAttribute="user"
		enctype="multipart/form-data">
		<!-- path是成员变量名 -->
			username : <sf:input path="username" />
		<sf:errors path="username" />
		<br>
			password : <sf:input path="password" />
		<sf:errors path="password" />
		<br>
		<br>
		<input type="submit" value="更新">
	</sf:form>
</body>
</html>